package cn.edu.glut.choosethesis.service;

import java.util.List;

import cn.edu.glut.vo.SelectionToStudentVO;

public interface SelectionService {
	
	final static int NO_CHOICE = 0;			//未确选选
	final static int CHOICE_SUCCESS = 1;	//确选
	final static int CHOICE_FAILURE = -1;	//选择失败（老师未选择学生）
	final static int REFUND = -2;			//选题是成功的，但是退选了
	
	int updateSelectStatus(String studentId, String subjectId);

	int studentChoiceSubject(String studentId, String subjectId, int wish);

	List<SelectionToStudentVO> findByStudentId(String studentId);

	int refund(String studentId, String subjectId);

	int privacyChoice(String username, String subjectId);

}
